class Shape
{
public:
	//	Default constructor
	Shape();

	//	return number of sides
	int GetNumberOfSides(return 0;);
};

class Square: public Shape
{
public:
	int GetNumberofSides(return 4;);
};

main()
{
	Shape a;
	Square tmpSquare;

	cout << "MyShape has " << a.GetNumberOfSides() << " sides" << endl;
	cout << "Square has " << tmpSquare.GetNumberOfSides() << " sides" << endl;
}
